package com.shrct.businessprocess.product.proxy;

import com.shrct.businessprocess.product.proxy.RCLogicProductAction;
import com.uniquesoft.gwt.shared.GWTNamedEntity;
import edu.fudan.mylang.pf.ProxyTarget;

@ProxyTarget("com.shrct.businessprocess.product.RCLogicProduct")
public class RCLogicProductProxy extends GWTNamedEntity {
  public RCLogicProductProxy() {
    this.setClazzName("com.shrct.businessprocess.product.RCLogicProduct");
  }
  
  private String status;
  
  public void setStatus(final String status) {
    this.status = status;
  }
  
  public String getStatus() {
    return this.status;
  }
  
  public Boolean isActionValid(final RCLogicProductAction action) {
    return RCLogicProductManager.isActionValid(action,status);
  }
}
